public class Student {

    //属性
    public int id;
    public String name;
    public int age;
    public String gender;//性别 male 或 female
    public double score;

    //方法
    public void doHomeork(){
        System.out.println("同学在做作业");
    }
    public void study(){
        System.out.println("同学在学习");
    }
}
